package com.zhang.controller;

import cn.dev33.satoken.annotation.SaCheckRole;
import cn.dev33.satoken.annotation.SaIgnore;
import com.zhang.entity.response.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * User: 张
 * Date: 2024-10-30
 * Time: 14:38
 * Description:
 */
@RestController()
@RequestMapping("/admin")
public class HelloController {
    @SaIgnore
    @RequestMapping("/hello")
    public ResponseResult<String> hello(){
        return ResponseResult.success("hello world ,This is user-service");
    }
}
